/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package it.unicam.fishpass.prism;
//@author  Baiocco Andrea
/**
 * declares the constant, useful inside the project
 */
public class Constant {

    /**
     * means =
     */
    public final static int EQ = 1;
    /**
     * means <= 
     */
    public final static int LEQ = 2;
    /**
     * means <
     */
    public final static int LS = 3;
    /**
     * means &
     */
    public final static int AND = 4;
    /**
     * means >=
     */
    public final static int GEQ = 5;
    /**
     * means >
     */
    public final static int GR = 6;
    /**
     * means !=
     */
    public final static int NOT = 7;



public static String toString(int operator) {
	  switch (operator) {
	  case (EQ):
	   return "=";
	  case (LEQ):
	   return "<=";
	  case (LS):
	   return "<";
	  case (GEQ):
	   return ">=";
	  case (GR):
	   return ">";
	  }
	  return null;
	 }
}